<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:67:"/data/www/sfadmin/public/../application/admin/view/article/add.html";i:1488527668;s:76:"/data/www/sfadmin/public/../application/admin/view/template/base_iframe.html";i:1488527668;}*/ ?>
<head>
    <link rel="stylesheet" type="text/css" href="__STATIC__/h-ui/css/H-ui.min.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/h-ui.admin/css/H-ui.admin.css"/>
    <link rel="stylesheet" type="text/css" href="__LIB__/Hui-iconfont/1.0.7/iconfont.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/h-ui.admin/skin/default/skin.css" id="skin"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/h-ui.admin/css/style.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/css/app.css"/>
    
	<link rel="stylesheet" type="text/css" href="__LIB__/ueditor/1.4.3/themes/default/css/ueditor.css"/>

</head>
<body>




<div id="" >
	<form class="form form-horizontal" action="<?php echo url('add_proc'); ?>" id="" >
		<div class="row cl">
		    <label class="form-label col-xs-3 col-ms-3">资讯标题</label>
		    <div class="formControls col-xs-6 col-ms-6">
		        <input name="title" type="text" placeholder="请输入资讯标题" value="" class="input-text radius group-title">
		    </div>
		</div>

		<div class="row cl">
		    <label class="form-label col-xs-3 col-ms-3">资讯分类</label>
		    <div class="formControls col-xs-6 col-ms-6">
		        <span class="select-box  radius">
		          <select class="select" size="1" name="cid">
		            <option value="" >请选择资讯分类</option>
		            <?php if(is_array($acTree) || $acTree instanceof \think\Collection): $i = 0; $__LIST__ = $acTree;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;if($v['pid'] == 0): ?>
		            		<option value="<?php echo $v['id']; ?>" disabled><?php echo $v['name']; ?></option>
							<?php if(is_array($acTree) || $acTree instanceof \think\Collection): $i = 0; $__LIST__ = $acTree;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v1): $mod = ($i % 2 );++$i;if($v1['pid'] == $v['id']): ?>
									<option value="<?php echo $v1['id']; ?>">|—— <?php echo $v1['name']; ?></option>
								<?php endif; endforeach; endif; else: echo "" ;endif; endif; endforeach; endif; else: echo "" ;endif; ?>
		          </select>
		        </span>
		    </div>
		</div>

		<div class="row cl">
		    <label class="form-label col-xs-3 col-ms-3">作者</label>
		    <div class="formControls col-xs-6 col-ms-6">
		        <input name="author" type="text" placeholder="请输入作者" value="" class="input-text radius">
		    </div>
		</div>

		<div class="row cl">
		    <label class="form-label col-xs-3 col-ms-3">关键字</label>
		    <div class="formControls col-xs-6 col-ms-6">
		        <input name="keyword" type="text" placeholder="请用 “,” 号分隔开,例如： php , java , liunx" value="" class="input-text radius">
		    </div>
		</div>

		<div class="row cl">
		    <label class="form-label col-xs-3 col-ms-3">内容</label>
		    <div class="formControls col-xs-6 col-ms-6">
		        <!-- <textarea  class="textarea radius" placeholder="说点什么..." rows="" cols="" name=""></textarea> -->
		        <script id="container" name="content" type="text/plain" style="width:100%;height:40%;">
		        </script>
		    </div>
		</div>

		<div class="row cl">
		    <label class="form-label col-xs-3 col-ms-3">能否删除</label>
		    <div class="skin-minimal">
		      <div class="radio-box">
		        <input type="radio" id="isdelete-1" class="ara-radio" name="is_delete" value="1" checked/>
		        <label for="isdelete-1">可以</label>
		      </div>
		      <div class="radio-box">
		        <input type="radio" id="isdelete-2" class="ara-radio" name="is_delete" value="0">
		        <label for="isdelete-2">不能</label>
		      </div>
		    </div>
		</div>

		<div class="row cl">
		    <div class="formControls col-xs-6 col-xs-offset-3">
		        <input name="" type="button" class="btn btn-success radius mr-20 submit" value="保存">
		        <input name="" type="reset" class="btn btn-default radius" value="重置">
		    </div>
		</div>

	</form>

</div>




<script type="text/javascript">
    var PUBLIC = '__PUBLIC__';
    var REQUIRE__JS = '__REQUIRE__JS__';
</script>
<!--require Js -->
<script src="__REQUIRE__JS__/require.config.js"></script>
<script src="__REQUIRE__JS__/require.js"></script>
<script src="__PUBLIC__/common/js/functions.js"></script>

	<script type="text/javascript" src="__LIB__/jquery/1.9.1/jquery.min.js"></script>

	<script type="text/javascript" src="__LIB__/ueditor/1.4.3/ueditor.config.js"></script>
	<script type="text/javascript" src="__LIB__/ueditor/1.4.3/ueditor.all.js"></script>
	<script type="text/javascript" src="__LIB__/ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script>

	<script type="text/javascript" src="__AJS__/article/add.js"></script>

</body>
